package cn.cttic.link.api.domain.bo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * Bo Model: Device active bo from MapGoo.
 */
@Data
public class DeviceActiveBo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * IEMI 编号
     */
    @NotNull(message = "IMEI号码不可为空")
    private String imei;

    /**
     * 激活状态(0 - 未激活 / 1 - 已激活）
     */
    @NotNull(message = "激活状态不可为空")
    private Integer activeStatus;

    /**
     * 激活时间
     */
    @NotNull(message = "激活时间不可为空")
    private LocalDateTime activeTime;

    /**
     * 最初上线时间
     */
    @NotNull(message = "最初上线时间不可为空")
    private LocalDateTime firstOnlineTime;


}
